American teenager Katie Ledecky set a world record in the 400-meter freestyle at the U.S. National Championships on Saturday, while Michael Phelps struggled home in sixth in the 100 backstroke.